<include file="Public:head"/>
<link rel="stylesheet" href="../Public/css/list.css" type="text/css">
</head>
<body>
<div id="doc4" class="yui-t1">
<include file="Public:top"/>
  <div id="bd">
	<div id="yui-main">
        <div class="yui-b cp">
            <h1><a href="{:ru("Member/site")}">{:L("_my_site_")}</a></h1>
            <div class="act"><a href="{:ru("Member/site_add")}">{:L("_site_add_")}</a></div>
            <p>
            {$showpage}
            </p>
            <table border="0" width="800" class="list">
            	<tbody>
                	<tr>
                    	<th width="5%">id</th>
                        <th width="45%">公司名</th>
                        <th width="12%">创建时间</th>
                        <th width="8%">展示</th>
                        <th width="12%">激活时间</th>
                        <th width="18%">管理</th>
                    </tr>
                    <volist name="site" id="v">
                    	<tr>
                        	<td height="35">{$v['id']}</td>
                            <td><php>echo $v[$plang['l'].'name'];$olang=$v['olang']==''?'':explode(',',$v['olang']);</php>
                            	<if condition="$v['olang']==''">
                                	<font color="#FF0000">{:L("_err_on_lang_")}</font>
                                <elseif condition="in_array('zh-cn',$olang)" />
                                	<font color="#FF0000">{:L("_err_on_cnlang_")}</font>
                                <elseif condition="in_array('en-us',$olang)" />
                                	<font color="#FF0000">{:L("_err_on_cnlang_")}</font>
                                </if>
                            </td>
                            <td>{$v['ctime']|toDate='Y-m-d'}</td>
                            <td>{$v['shownum']}</td>
                            <td>{$v['activetime']|toDate='Y-m-d'}<br />
                            	<a href="{:ru("Member/update_action",array('aid'=>$v['id']))}" target="_blank">{:L("_update_activetime_")}</a>
                            </td>
                            <td>
                            <a href="__URL__/site_add/id/{$v['id']}/act/edit" title="{:L("_site_edit_")}">Edit</a> | 
                            <a href="__URL__/site_lang/aid/{$v['id']}/lang/en-us" title="{:L("_site_edit_")}">En</a> | 
                            <a href="__URL__/site_lang/aid/{$v['id']}/lang/zh-cn" title="{:L("_site_edit_")}">Cn</a><br>
                            <a href="__URL__/deep/aid/{$v['id']}" title="{:L("_site_edit_")}">Link</a> | 
                            <a href="__URL__/news/aid/{$v['id']}" title="{:L("_site_edit_")}">News</a> | 
                            <a href="__URL__/product/aid/{$v['id']}" title="{:L("_site_edit_")}">Product</a> | 
                            </td>
                        </tr>
                    </volist>
                </tbody>
            </table>
            <p>
            {$showpage_bot}
            </p>
        </div>
    </div>
    <div class="yui-b">
    	<include file="Member:left"/>
    </div>
  </div>
<include file="Public:foot"/>
